package cn.bb.dao;

import cn.bb.pojo.Account;
import cn.bb.pojo.Account_user;

import java.util.List;

public interface AccountDao {
    public void  addAccount(Account account);//增加用户
    public void delAccount(int id);//注销用户
    public Account getAccount(int id);//查看某一用户
    public List<Account> searchAccount(Account account);//搜索用户
    public List<Account> searchAccount();//搜索用户
    public void dealAccount(Account account1,Account account2);//转账
    public List<Account_user> secrchDetail();//查询详细的转账记录
}
